import zhreq from "@/api/axios-agr-social";
export default {
  queryPageByCondition(params) {
    return zhreq.post("/admin/noticeConfig/queryPageByCondition", params);
  },
  queryByCondition(params) {
    return zhreq.post("/admin/noticeConfig/queryByCondition", params);
  },
  add(params) {
    return zhreq.post("/admin/noticeConfig/add", params);
  },
  edit(params) {
    return zhreq.request('put', "/admin/noticeConfig/edit", params);
  },
  del(id) {
    return zhreq.request('delete', `/admin/noticeConfig/del?id=${id}`);
  },
};
